//package com.coke.spring.seata.fegin;
//
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PutMapping;
//import com.coke.spring.seata.fegin.fallback.StockFallBack;
//
///**
// * @author cwm
// * @Description TODO
// * @date 2021/9/3 下午3:50
// * @Version 1.0
// */
//@FeignClient(value = "stock-server",fallbackFactory = StockFallBack.class)
//public interface StockClient {
//    @PutMapping("/stock/{productId}")
//     void stock(@PathVariable("productId") Integer productId);
//}
